-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moved Generalised Headtracker component from Core #139
Conversation
@ExtremelySunnyYK |
What do you mean by 'folder'? We will at least need module separation to prevent the imports from polluting core, and the current policy is to avoid all chain-specific imports in this repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tentatively blocking to asses whether we need to wait to be sure that CI is in a good place (tests/linter/sonar/etc.) before merging. Feel free to dismiss this if CI looks healthy and comprehensive, or if the code is literally copied without changes.
cc @chudilka1
@jmank88 sorry for the lack of clarity. By folder I meant chain specific repository. For instance test for evm headtracker will be on Will update the PR description for clarity. |
Thanks for bringing this up @jmank88 . We will still be having to depend on integration tests in the core / Curious if there might be a better approach? @aalu1418 has also suggested how we can make use of GitHub automated PR in the meantime before completely moving from |
The code is copied without changes. However I will be letting this PR sit for a while for discussion with @prashantkumar1982 and @aalu1418 on the best path for dependency and testing moving forward as well. Since this is the first generalisation part to be moved over, it might highlight some issues. |
Ideally all generic code would have some dummy concrete test instances to fully cover everything. If we are going to have a bunch of related types using similar sets of generic type parameters in this repo, then it may make sense to have an internal test package that exports shared dummy types to use everywhere. This might naturally start to look like a simplified reference implementation too, which could be leveraged for docs. |
This PR moves over the Generalised HeadTracker components from core
common/types
repo to the chainlink-relay repo. This allows chain specific repositories to make use of the generalised Headtracker interfaces.Changes
Note:
chainlink-core
, and test for Solana will be onchainlink-solana
.chainlink-relay
and all tests passes.Future work:
core/common
and run chain specific tests of chainlink-relay headtrackerTicket